﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HelloNHibernate
{
    public class Employee
    {
        private int id;
        private string name;
        public Employee manager;

        public string Name
        {
            get { return name; }
            set { name = value; }
        }

        public int Id
        {
            get { return id; }
            set { id = value; }
        }

        public string SayHello()
        {
            return string.Format("'Hello World!', said {0}.", name);
        }
    }
}
